package cn.e4j.modular.crm.service;

import cn.e4j.core.dto.impl.Dto;
import cn.e4j.modular.crm.entity.GwgfT;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuwei
 * @since 2019-11-22
 */
public interface GwgfTService extends IService<GwgfT> {

    List<Map<String, Object>> getHeadList(Page<Object> page, Dto inDto);

    boolean existedTheParams(GwgfT gwgfT);

    void add(GwgfT gwgfT);

    void edit(GwgfT gwgfT);

    void delete(GwgfT gwgfT);

    void deleteBatch(List<GwgfT> gwgfTList);

    void changeStatusBatch(List<GwgfT> gwgfTList);
}
